lcBlockAddSpline Home

Adds a new Polyline object with fit type LC_PLFIT_SPLINE into a block

 HANDLE lcBlockAddSpline (
   HANDLE hBlock,
   BOOL bClosed,
   BOOL bFilled
 );

Parameters
hBlock
  Handle to a block.
bClosed
  If TRUE, then additional polyline segment will be added, it connects last and first vertices.
If FALSE, then polyline will be non-closed.
Closed polyline can be filled with color and selected by pointing to inner area.
bFilled
  If TRUE then inner area of polyline will be filled with color. This parameter is ignored for non-closed polylines.

Return Value

  Handle to created Polyline object or NULL if the function fails.

See Also

  lcPlineAddVer